<template>
    <div class="generalize">
        <!--<h5><a href="javascript:;"><</a> <span>推广</span></h5>-->
        <div class="div1">
          <p>邀请二维码</p>
            <div class="div2">
                <img src="../assets/img/ewm.png" alt="">
            </div>
            <p class="p2">邀请码</p>
            <p class="p3">254652</p>
            <p class="p4">推广链接：www.123.com <a>复制</a> </p>
            <p class="p5">好友可使用您的邀请码进行注册</p>
        </div>
        <div class="btn">
            <button>马上邀请好友加入</button>

        </div>
    </div>
</template>

<script>
    export default {
      name: 'Generalize'
    }
</script>

<style scoped>
    .generalize{
        font-size: 0.3rem;
        margin: 0 auto;
    }
    .generalize h5{
        height: 0.9rem;
        line-height: 0.9rem;
        margin: 0;
        font-weight: normal;
        background-color: #537fbf;
        color: #fff;
        display: flex;
    }
    .generalize h5 a{
        font-size: 0.4rem;

        text-decoration: none;
        color: #fff;
        flex-grow: 1;
        margin-left: 0.4rem;
    }
    .generalize h5 span{
        flex-grow:2 ;
        padding-left: 1rem;
    }
    .generalize .div1{
        width: 6rem;
        height: 8.39rem;
        background-color: #537fbf;
        border-radius: 0.15rem;
        margin: 0.9rem 0.75rem;
    }
    .generalize .div1 p{
        height: 0.39rem;
        font-size: 0.4rem;
        line-height: 0.4rem;
        letter-spacing: 0rem;
        color: #ffffff;
        margin: 0 auto;
        text-align: center;
        padding-top: 0.6rem;
    }
    .generalize .div1 .p2{
        font-size: 0.28rem;
        margin-top: -0.3rem;
    }
    .generalize .div1 .p3{
        margin-top: -0.4rem;
    }
    .generalize .div1 .p4{
        width: 4.8rem;
        height: 0.6rem;
        font-size: 0.28rem;
    }
    .generalize .div1 .p5{
        font-size: 0.24rem;
        color: #ccd9ec;
        width: 100%;
        margin-top: -0.3rem;
    }
    .generalize .div1 .p4 a{
        width: 1.21rem;
        height: 0.3rem;
        padding: 0.1rem 0.3rem;
        margin-left: 0.1rem;
        border-radius: 0.05rem;
        border: solid 0.02rem #ffffff;
    }
    .generalize .div2{
        width: 3rem;
        height: 3rem;
        margin: 0.3rem auto;
        overflow: hidden;
    }
    .generalize .div2 img{
        width: 100%;
        height: auto;
    }
    .btn button{
        width: 6.7rem;
        height: 0.9rem;
        background-color: #537fbf;
        border-radius: 0.05rem;
        color: #fff;
        border: none;
        margin: 0 0.4rem;
        font-size: 0.28rem;
    }
</style>
